﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Inspired.Euler
{
    public static class Problem031
    {
        static void Main()
        {

            int amount = 200;
            double ways = (new[] { 1, 2, 5, 10, 20, 50, 100 }.Select(v => 1 - Math.Pow(amount, v))
                .Aggregate(1D, (accum, factor) => accum *= factor));
        }
    }
}
